package File;

import java.io.File;
import java.util.Arrays;

public class Demo5 {
    public static void main(String[] args) {
        File file=new File("C:/");
//String[]list= file.list();
       // System.out.println(Arrays.toString(list));

        File[]files=file.listFiles();
        System.out.println(Arrays.toString(files));


    }
}
